package com.hmall.order.utils;

public class ThreadLocalUtils {
 private static final   ThreadLocal<Long> tl= new ThreadLocal<Long>();

 public static void setTl(Long id){
     tl.set(id);
 }
 public static Long getTl(){
     return tl.get();
 }
 public static void remove(){
     tl.remove();
 }
}
